﻿using GeneralServices.PatternCommand;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleAppTestPatternCommand
{
    public class CommandCalcArgs : AbstractCommandArgs
    {
        public Int32 Operand
        {
            get;
            private set;
        }

        public char Operateur
        {
            get;
            private set;
        }

        public override void Fill(object[] _params)
        {
            Operand = Convert.ToInt32(_params[0]);
            Operateur = Convert.ToChar(_params[1]);
        }
    }
}
